package com.example.pjy.service;

import com.example.pjy.pojo.Academic;
import com.example.pjy.pojo.Student;

import java.util.List;

public interface AcademicService {
//    void insert(Academic academic);
//    void deleteById(int id);
//    void update(Academic academic);
//    List<Academic> selectAll();
//    Academic selectById(int student_id);





    //新增学业成绩
    void add(Academic academic);

    //列表查询
    List<Academic> list();

    //根据id查询学生信息
    Academic findById(Integer student_id);

    //更新学生
    void updateac(Academic academic);



    //删除学生
    void delete(int studentId);

    //查找是否有相同学号的成绩
    boolean isExist(int studentId);
}
